﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="XMLMovieWebsite.Register" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            font-size: x-large;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <p></p>
        <div style="  color: #FE980F;font-family: 'Roboto', sans-serif;font-size: 18px;font-weight: 700;
            margin: 0 auto 30px;text-align: center;text-transform: uppercase; position: relative;z-index:3;" align="center">
            <h2>Đăng ký</h2>
            <asp:Label ID="Label1" runat="server" Text="Chúc Mừng Bạn Đăng Ký Thành Công" Visible="False" Font-Bold="True" Font-Italic="True"></asp:Label>
            <asp:Panel ID="Panel1" runat="server">
            <table cellpadding="5" style="margin: 50px auto 20px; text-align:left" >
            <tr>
                <td>Username:</td>
                <td><asp:TextBox ID="txtUsername" runat="server" 
                      ></asp:TextBox></td>
                <td> 
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ErrorMessage="Vui lòng nhập Username" ControlToValidate="txtUsername"
                      Font-Size="Smaller" Display="Dynamic"></asp:RequiredFieldValidator>  
                   
                    <asp:Label ID="Label3" runat="server" Text="Tên tài khoản phải từ 6-16 ký tự" Visible="False"></asp:Label>
                     </td>
            </tr>
            <tr>
                <td>Password:</td>
                <td><asp:TextBox ID="txtPass" runat="server" TextMode="Password"></asp:TextBox>                    
                </td>
                <td>
                      <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ErrorMessage="Vui lòng nhập Pass" ControlToValidate="txtPass"
                      Font-Size="Smaller" Display="Dynamic"></asp:RequiredFieldValidator>
                      
                      <asp:Label ID="Label2" runat="server" Text="" Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>Confirm Password:</td>
                <td><asp:TextBox ID="txtPass2" runat="server" TextMode="Password" t></asp:TextBox></td>
                <td><asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Xác nhận mật khẩu k0 đúng" ControlToCompare="txtPass"  Font-Size="Smaller" ControlToValidate="txtPass2" Display=Dynamic></asp:CompareValidator>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        ErrorMessage="Vui lòng nhập RePass" ControlToValidate="txtPass2"
                      Font-Size="Smaller" Display="Dynamic"></asp:RequiredFieldValidator>

                </td>
                
            </tr>
            <tr>
                <td>Email:</td>
                <td><asp:TextBox ID="txtEmail" runat="server" TextMode="Email"></asp:TextBox> </td>
                <td> <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ErrorMessage="Vùi lòng nhập Email" ControlToValidate="txtEmail"  Display=Dynamic Font-Size="Smaller"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td></td>
                <td>
     </td>
            </tr>
            <tr>
                <td>Địa chỉ:</td>
                <td><asp:TextBox ID="txtDiachi" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td></td>
                <td>  <asp:Button ID="Button1" runat="server" Text="Submit" 
                        onclick="Button1_Click" />    </td>
            </tr>
        </table>
              
       </asp:Panel>
        </div>

    </div>    


    <iframe width="560" height="315" src="https://www.youtube.com/embed/uuZE_IRwLNI" frameborder="0" allowfullscreen></iframe>



</asp:Content>
